<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Logout extends MY_Controller {
	public function index()
	{
		$this->load->helper('cookie');
		delete_cookie('persistent');
		$this->session->sess_destroy();
		redirect(base_url());
	}
}

?>